#pragma once

#include <QWidget>
#include "ui_SetupPagesContainer.h"
#include "../Qt-FramelessWindow/FramelessMainWindow.h"

class SetupSelectDir;
class SetupPagesContainer : public QWidget
{
	Q_OBJECT

public:
	SetupPagesContainer(QWidget *parent = nullptr);
	~SetupPagesContainer();
	void paintEvent(QPaintEvent *event) override;
	void mousePressEvent(QMouseEvent* event) override;
	void mouseMoveEvent(QMouseEvent* event) override;

private:
	void loadStyleSheetFile(const QString& sheetName);

private:
	Ui::SetupPagesContainerClass ui;
	SetupSelectDir* m_pageSelectDir = nullptr;
	QPoint _dragPosition;
};
